// 推荐接口
import request from "./http";

///personalized/mv  获取最新MV
export function getPersonalized(params){
    return request({
        url:"/mv/first",
        method:"get",
        params
    })
}
///mv/detail  获取mv数据
export function getDetail(params){
    return request({
        url:"/mv/detail",
        method:"get",
        params
    })
}

// 网易出品MV
export function getMvExclusiveRcmd() {
    return request({
        url: '/mv/exclusive/rcmd',
        type: 'get',
        params: {
            limit: 4
        }
    })
}

//获取MV的url
export function getMvUrl(params) {
    return request({
        url: '/mv/url',
        type: 'get',
        params
    })
}

//获取MV评论
///comment/event
export function getCommentMv(params) {
    return request({
        url: '/comment/mv',
        type: 'get',
        params
    })
}


// 发布或删除评论
export function getComment(params) {
    return request({
        url: '/comment',
        type: 'get',
        params
    })
}